<?php 

class Migration_Add_Timestamp_Leiloes extends CI_Migration {

    function up() {

        $obj = $this->dbforge;
        $column = array(
            'CRIADO' => array(
                'type' => 'DATETIME'
            ),
            'ALTERADO' => array(
                'type' => 'DATETIME'
            )
        );
        $obj->add_column('leiloes', $column);
    }

}
